package org.fengdi.store.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Data
@TableName("storage")
@Getter
@Setter
@NoArgsConstructor
public class Storage {

    @TableId(type = IdType.AUTO)
    public int id;

    @TableField("commodity_code")
    public String commodityCode;

    @TableField("count")
    public Integer count;
}
